package com.insigma.business.qrcode.merchant._consumer.impl;

import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.pay.dto.CareWelfareMerchantEvaluationCountDTO;
import com.insigma.business.qrcode.pay.dto.CareWelfareMerchantEvaluationDTO;
import com.insigma.business.qrcode.pay.dto.CareWelfareMerchantEvaluationSearchRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.merchant.dto.request.CareWelfareMerchantEvaluationInsertRequest;
import com.insigma.business.qrcode.merchant.dto.request.CareWelfareMerchantEvaluationUpdateRequest;
import com.insigma.business.qrcode.merchant._consumer.CareWelfareMerchantEvaluationConsumer;
import com.insigma.business.qrcode.merchant._provider.CareWelfareMerchantEvaluationProvider;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("careWelfareMerchantEvaluationConsumer")
public class CareWelfareMerchantEvaluationConsumerImpl implements CareWelfareMerchantEvaluationConsumer {
    @Resource
    private CareWelfareMerchantEvaluationProvider careWelfareMerchantEvaluationProvider;


    @Override
    public BasePagingResponse<List<CareWelfareMerchantEvaluationDTO>> searchCareWelfareMerchantEvaluation(CareWelfareMerchantEvaluationSearchRequest searchRequest) {
        return careWelfareMerchantEvaluationProvider.searchCareWelfareMerchantEvaluation(searchRequest);

    }

    @Override
    public BaseResponse<CareWelfareMerchantEvaluationDTO> getCareWelfareMerchantEvaluation(BaseGetRequest baseGetRequest) {
        return null;
    }

    @Override
    public BaseResponse<String> insertCareWelfareMerchantEvaluation(CareWelfareMerchantEvaluationInsertRequest insertRequest) {
        return careWelfareMerchantEvaluationProvider.insertCareWelfareMerchantEvaluation(insertRequest);
    }

    @Override
    public BaseResponse<Integer> updateCareWelfareMerchantEvaluation(CareWelfareMerchantEvaluationUpdateRequest updateRequest) {
        return null;
    }

    @Override
    public BaseResponse<Integer> deleteCareWelfareMerchantEvaluation(BaseDeleteRequest deleteRequest) {
        return null;
    }

    @Override
    public BaseResponse<CareWelfareMerchantEvaluationCountDTO> countCareWelfareMerchantEvaluation(CareWelfareMerchantEvaluationSearchRequest request) {
        return careWelfareMerchantEvaluationProvider.countCareWelfareMerchantEvaluation(request);
    }
}
